package com.gec.obwiki.service;

import com.gec.obwiki.domain.dto.EbookQueryReq;
import com.gec.obwiki.domain.vo.EbookQueryResp;
import com.gec.obwiki.domain.vo.PageResp;
import com.gec.obwiki.rep.EbookSaveReq;

import javax.validation.Valid;
import java.util.List;

public interface IEbookService {
    void save(EbookSaveReq req);

    List<EbookQueryResp> listByname(@Valid EbookQueryReq req);

    void delete(Long id);
}
